using System;

namespace Catastrophe.Common.FileM
{
	public class FileConfigAttribute : Attribute
	{
		public string Section { get; set; }

		public string Adr { get; set; }

		public string Describe { get; set; }

		public object Value { get; set; }

		public Type DataType { get; set; }

		public string EncryptMethod { get; set; }

		public string DecryptMethod { get; set; }

		public string TimeStamp { get; set; } = "";


		public bool Ignore { get; set; }

		public bool IgnoreWrite { get; set; }

		public FileConfigAttribute(string section = "", string describe = "")
		{
			if (!string.IsNullOrWhiteSpace(section))
			{
				this.Section = section;
			}
			this.Describe = describe;
		}
	}
}
